﻿namespace ScrumLite.WebUx.Models
{
    using System;
    using System.Collections.ObjectModel;
    using ScrumLite.Services.Contracts;

    public class CommitmentsReadViewData : ContextViewData
    {
        public CommitmentsReadViewData():this(new Collection<Commitment>(), new Collection<Commitment>())
        {

        }
        public CommitmentsReadViewData(Collection<Commitment> completedCommitments, Collection<Commitment> uncompletedCommitments)
        {
            this.CompletedCommitments = completedCommitments;
            this.UncompletedCommitments = uncompletedCommitments;
        }

        public DateTime Date { get; set; }
        public Collection<Commitment> CompletedCommitments { get; private set; }
        public Collection<Commitment> UncompletedCommitments { get; private set; }
    }
}
